package com.nie.mybatisPlus.generator.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nie.mybatisPlus.generator.system.entity.User;
import com.nie.mybatisPlus.generator.system.mapper.UserMapper;
import com.nie.mybatisPlus.generator.system.service.IUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author nie_chao_qun
 * @since 2022-11-17
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    @Transactional
    public void saveUser(User user) {
        save(user);
    }
}
